#ifndef OPTIONS_H
#define OPTIONS_H

#include <QDialog>
#include <QtSerialPort/QtSerialPort>
#include <QSerialPortInfo>

namespace Ui {
    class Options;
}

class Options : public QDialog {
    Q_OBJECT
public:
    explicit Options(QWidget *parent = nullptr);
    ~Options();

    QString portName();
    QString portSpeed();
    bool saveStreamFlag();
    void setOptions(QString &port, QString &speed, bool saveStream);

signals:

private slots:
  void on_refreshBtn_clicked();

private:
    Ui::Options *ui;
};

#endif // OPTIONS_H
